/*
Navicat SQL Server Data Transfer

Source Server         : LOCALHOST
Source Server Version : 110000
Source Host           : .:1433
Source Database       : AAACHAM2
Source Schema         : dbo

Target Server Type    : SQL Server
Target Server Version : 110000
File Encoding         : 65001

Date: 2014-04-29 17:06:12
*/


-- ----------------------------
-- Table structure for tb3038
-- ----------------------------
DROP TABLE [dbo].[tb3038]
GO
CREATE TABLE [dbo].[tb3038] (
[PlanID] varchar(20) NOT NULL ,
[VoucherTypeID] varchar(20) NULL ,
[VoucherNo] varchar(50) NULL ,
[VoucherDate] datetime NULL ,
[SOderID] varchar(20) NULL ,
[EmployeeID] varchar(20) NULL ,
[Description] nvarchar(250) NULL ,
[DivisionID] varchar(20) NULL ,
[TranMonth] int NULL ,
[TranYear] int NULL ,
[PlanStatus] tinyint NOT NULL DEFAULT ((0)) ,
[CreateDate] datetime NULL ,
[CreateUserID] varchar(20) NULL ,
[LastModifyDate] datetime NULL ,
[LastModifyUserID] varchar(20) NULL ,
[Disabled] tinyint NOT NULL DEFAULT ((0)) ,
[InventoryTypeID] varchar(20) NULL ,
[BeginDate] datetime NULL ,
[IsApportionID] tinyint NOT NULL DEFAULT ((0)) ,
[IsSum] tinyint NOT NULL DEFAULT ((0)) 
)


GO

-- ----------------------------
-- Indexes structure for table tb3038
-- ----------------------------

-- ----------------------------
-- Primary Key structure for table tb3038
-- ----------------------------
ALTER TABLE [dbo].[tb3038] ADD PRIMARY KEY NONCLUSTERED ([PlanID])
GO
